import request from '@/utils/request'

/*
 * 师德师风
 */
export function teachingStyle(params) {
  return request({
    url: 'mailbox_special/index',
    method: 'GET',
    params
  })
}

// 删除师风师德
export function teachingStyleDelete(data) {
  return request({
    url: 'mailbox_special/delete',
    method: 'POST',
    data: data
  })
}

// 校园活动列表
export function activityIndex(params) {
  return request({
    url: 'activity/index',
    method: 'GET',
    params
  })
}

// 校园活动添加
export function activityAdd(data) {
  return request({
    url: 'activity/add',
    method: 'POST',
    data: data
  })
}

// 校园活动详情
export function activityDetail(params) {
  return request({
    url: 'activity/edit',
    method: 'GET',
    params
  })
}

// 校园活动编辑
export function activityEdit(data) {
  return request({
    url: 'activity/edit',
    method: 'POST',
    data: data
  })
}

// 校园活动删除
export function activityDelete(data) {
  return request({
    url: 'activity/delete',
    method: 'POST',
    data: data
  })
}

//校园活动报名用户
export function activitySignUser(params) {
  return request({
    url: 'activity_user/index',
    method: 'GET',
    params
  })
}

//校园活动报名用户删除
export function activitySignDelete(data) {
  return request({
    url: 'activity_user/delete',
    method: 'POST',
    data: data
  })
}

// 游园列表
export function garden_party_index(params) {
  return request({
    url: 'garden_party/index',
    method: 'GET',
    params
  })
}

// 游园添加
export function garden_party_add(data) {
  return request({
    url: 'garden_party/add',
    method: 'POST',
    data: data
  })
}

// 删除游园
export function garden_party_delete(data) {
  return request({
    url: 'garden_party/delete',
    method: 'POST',
    data: data
  })
}

// 游园编辑详情
export function garden_party_edit(data) {
  return request({
    url: 'garden_party/edit',
    method: 'POST',
    data: data
  })
}

// 游园详情
export function garden_party_Detail(params) {
  return request({
    url: 'garden_party/edit',
    method: 'GET',
    params
  })
}

// 子项目列表
export function garden_party_option_index(params) {
  return request({
    url: 'garden_party_option/index',
    method: 'GET',
    params
  })
}

// 添加游园子项目
export function garden_party_option_add(data) {
  return request({
    url: 'garden_party_option/add',
    method: 'POST',
    data: data
  })
}

// 删除游园子项目
export function garden_party_option_delete(data) {
  return request({
    url: 'garden_party_option/delete',
    method: 'POST',
    data: data
  })
}

// 编辑游园子项目
export function garden_party_option_edit(data) {
  return request({
    url: 'garden_party_option/edit',
    method: 'POST',
    data: data
  })
}

// 游园子项目详情
export function garden_party_option_Detail(params) {
  return request({
    url: 'garden_party_option/edit',
    method: 'GET',
    params
  })
}

// 游园报名人员
export function garden_party_user(params) {
  return request({
    url: 'garden_party/user',
    method: 'GET',
    params
  })
}

// 游园报名人员删除
export function garden_party_user_delete(data) {
  return request({
    url: 'garden_party/user_delete',
    method: 'POST',
    data: data
  })
}

// 游园签到人员
export function garden_party_sign(params) {
  return request({
    url: 'garden_party_option/sign',
    method: 'GET',
    params
  })
}

// 游园未签到人员
export function garden_party_no_sign(params) {
  return request({
    url: 'garden_party_option/no_sign',
    method: 'GET',
    params
  })
}




// 围观列表
export function show_index(params) {
  return request({
    url: 'show/index',
    method: 'GET',
    params
  })
}

// 围观管理-新增
export function show_add(data) {
  return request({
    url: 'show/add',
    method: 'POST',
    data: data
  })
}

// 围观管理-详情
export function show_detail(params) {
  return request({
    url: 'show/edit',
    method: 'GET',
    params
  })
}

// 围观管理-编辑
export function show_edit(data) {
  return request({
    url: 'show/edit',
    method: 'POST',
    data: data
  })
}

// 围观管理-删除
export function show_delete(params) {
  return request({
    url: 'show/delete',
    method: 'GET',
    params
  })
}


// 围观分类列表
export function show_category_index(params) {
  return request({
    url: 'show_category/index',
    method: 'GET',
    params
  })
}

// 围观分类管理-新增
export function show_category_add(data) {
  return request({
    url: 'show_category/add',
    method: 'POST',
    data: data
  })
}

// 围观分类管理-详情
export function show_category_detail(params) {
  return request({
    url: 'show_category/edit',
    method: 'GET',
    params
  })
}

// 围观分类管理-编辑
export function show_category_edit(data) {
  return request({
    url: 'show_category/edit',
    method: 'POST',
    data: data
  })
}

// 围观分类管理-删除
export function show_category_delete(params) {
  return request({
    url: 'show_category/delete',
    method: 'GET',
    params
  })
}

// 家长留言
export function parentMessageIndex(params) {
  return request({
    url: 'parent_message/index',
    method: 'GET',
    params
  })
}

// 家长留言-删除
export function parentMessageDelete(params) {
  return request({
    url: 'parent_message/delete',
    method: 'GET',
    params
  })
}

// 园区概况
export function schoolOverviewIndex() {
  return request({
    url: 'school_brand/school',
    method: 'GET'
  })
}
// 教师队伍
export function teacherTeam() {
  return request({
    url: 'school_brand/user',
    method: 'GET'
  })
}
// 学术成果
export function acadmicAchievement(params) {
  return request({
    url: 'school_brand/topic',
    method: 'GET',
    params
  })
}
// 保育看板
export function nurseryDashboard(params) {
  return request({
    url: 'school_brand/child',
    method: 'GET',
    params
  })
}
// 均衡跟踪
export function getEvaluationStatistics(params) {
  return request({
    url: 'school_brand/getEvaluationStatistics',
    method: 'GET',
    params
  })
}
// 均衡跟踪
export function getUploadStatistics(params) {
  return request({
    url: 'school_brand/getUploadStatistics',
    method: 'GET',
    params
  })
}// 均衡跟踪
export function getTopThreeCornerApplicationsByPosition(params) {
  return request({
    url: 'school_brand/getTopThreeCornerApplicationsByPosition',
    method: 'GET',
    params
  })
}
// 均衡跟踪
export function weekly_tracking(params) {
  return request({
    url: 'school_brand/weekly_tracking',
    method: 'GET',
    params
  })
}
// 均衡跟踪
export function watch_corner(params) {
  return request({
    url: 'school_brand/watch_corner',
    method: 'GET',
    params
  })
}
// 均衡跟踪
export function watch_student(params) {
  return request({
    url: 'school_brand/watch_student',
    method: 'GET',
    params
  })
}
// 均衡跟踪
export function corner_score_distribution(params) {
  return request({
    url: 'school_brand/corner_score_distribution',
    method: 'GET',
    params
  })
}
// 幼儿发展
export function development(params) {
  return request({
    url: 'school_brand/student',
    method: 'GET',
    params
  })
}

// 获取称号详情人员
export function honorDetail(params) {
  return request({
    url: 'school_brand/honor_detail',
    method: 'GET',
    params
  })
}

// 幼儿发展
export function schoolBrandDomain(params) {
  return request({
    url: 'school_brand/domain',
    method: 'GET',
    params
  })
}

// 荣誉展示
export function schoolHonor(params) {
  return request({
    url: 'school_brand/honor',
    method: 'GET',
    params
  })
}

// 看板实时区角
export function cornerBrand(params) {
  return request({
    url: 'school_brand/corner',
    method: 'GET',
    params
  })
}

// 看板实时区角
export function cornerStudentBrand(params) {
  return request({
    url: 'school_brand/corner_student',
    method: 'GET',
    params
  })
}
// 看板实时区角
export function cornerStudentStatics(params) {
  return request({
    url: 'school_brand/student_statistics',
    method: 'GET',
    params
  })
}
export function cornerMaterialStatisticsByCriteria(params) {
  return request({
    url: 'school_brand/material_statistics_by_criteria',
    method: 'GET',
    params
  })
}
// 看板材料互动排行
export function cornerMaterialInteractionRanking(params) {
  return request({
    url: 'school_brand/material_interaction_ranking',
    method: 'GET',
    params
  })
}
//通过学生ID获取学生的意向材料、被记录过的材料、水平为认知的材料、水平为使用的材料和水平为运用的材料
export function studentMaterials(params) {
  return request({
    url: 'school_brand/student_materials',
    method: 'GET',
    params
  })
}
//  themes 中的材料，获取每个材料的认知水平、使用水平和运用水平
export function themeMaterials(params) {
  return request({
    url: 'school_brand/theme_materials',
    method: 'GET',
    params
  })
}
// 根据材料获取学生信息
export function materialStudents(params) {
  return request({
    url: 'school_brand/material_students',
    method: 'GET',
    params
  })
}


